package com.example.safelib.bean

/**
 * Author: sxygsj
 * Date: 2020/4/24 9:13
 * Description: 安全实体
 * History:
 * <author> <time> <version> <desc>
 * 作者姓名 修改时间 版本号 描述
 */
data class SafeAlarmBean(
    val alarmreason: String,
    val alarmvalue: String,
    val endtime: String,
    val minedispose: String,
    val minedispose_person: String,
    val minedispose_time: String,
    val offdescribe: String,
    val ondescribe: String,
    val persisttime: Int,
    val sensorname: String,
    val sensornum: String,
    val sensorplace: String,
    val sensorunit: String,
    val starttime: String,
    val stationnum: String,
    val statusdec: String,
    val typename: String
)

data class SafeSenNameBean(
    val id: Int,
    val importantlevel: Int,
    val isuse: Any,
    val note: Any,
    val sensorcode: String,
    val sensorname: String,
    val sensortype: Int,
    val sort: Int
)

data class SafeSenSorBean(
    val realstatus: Int,
    val realvalue: Double,
    val sensorname: String,
    val sensornum: String,
    val sensorplace: String,
    val sensorunit: String,
    val statusdec: String,
    val inserttime: String,
    val typename: String
)

data class SafeSerList(val senname: List<SafeSenNameBean>, val senno: List<List<String>>)

data class SafeLineCharList(val lineValue: List<SafeLinCharBean>, val lineInfo: SafeLineInfoBean)

data class SafeLinCharBean(val realvalue: Double, val datatime: String)

data class SafeLineInfoBean(
    val arrangedown: Int,
    val arrangeup: Int,
    val createtime: String,
    val lwarningvaluedown: Any,
    val lwarningvalueup: Any,
    val offdescribe: String,
    val ondescribe: String,
    val poweroffvaluedown: Double,
    val poweroffvalueup: Double,
    val poweronvaluedown: Double,
    val poweronvalueup: Double,
    val sensorcode: String,
    val sensorname: String,
    val sensornum: String,
    val sensorplace: String,
    val sensortype: Int,
    val sensorunit: String,
    val stationnum: String,
    val typename: String,
    val warningvaluedown: Double,
    val warningvalueup: Double
)

data class SafeReportBean(
    val alarmnum: Int,
    val sensorname: String
)

data class SafeSenSorMoreBean(
    val arrangedown: Int,
    val arrangeup: Int,
    val createtime: String,
    val lwarningvaluedown: String,
    val lwarningvalueup: String,
    val poweroffvaluedown: String,
    val poweroffvalueup: String,
    val poweronvaluedown: String,
    val poweronvalueup: String,
    val sensorcode: String,
    val sensorname: String,
    val sensornum: String,
    val sensorplace: String,
    val sensortype: Int,
    val sensorunit: String,
    val stationnum: String,
    val typename: String,
    val warningvaluedown: String,
    val warningvalueup: String
)

data class SafeNickBean(
    val minename:String="",
    val minecode: String,
    val netState: String,
    val mnlno: String,
    val kglno: String,
    val alno: String,
    val dalno: String,
    val datatime:String
)